using System;
using System.Collections.Generic;
using System.Text;
using UMC.WorkFlow;

namespace UMC.WorkFlow.Entities
{
    /// <summary>
    /// 表单数据
    /// </summary>
    public partial class TaskData : UMC.Data.Record
    {
        /// <summary>
        /// 实例ID
        /// </summary>
        public ulong? InstanceId { get; set; }
        /// <summary>
        /// 表单名称
        /// </summary>
        public String DataName { get; set; }
        /// <summary>
        /// 表单索引
        /// </summary>
        public int? DataIndex { get; set; }
        public String DataValue { get; set; }
        public String DataText { get; set; }

        // public String FormValue{get;set;}

    }
    public enum UIContorlMode
    {
        /// <summary>
        /// 根据流程来确认
        /// </summary>
        Normal = 0,
        /// <summary>
        /// 编辑
        /// </summary>
        Edit = 1,
        /// <summary>
        /// 隐藏
        /// </summary>
        Hidden = 2,
        /// <summary>
        /// 只读
        /// </summary>
        Readonly = 3,
        /// <summary>
        /// 新增
        /// </summary>
        Insert = 4
    }
    /// <summary>
    /// 控件显示
    /// </summary>
    public partial class TaskCheckContorl : UMC.Data.Record
    {

        public ulong? ItemId { get; set; }

        public UIContorlMode? ContorlMode { get; set; }
        public String ShapeId { get; set; }
    }
    /// <summary>
    /// 
    /// </summary>
    public partial class TaskObSerialize : UMC.Data.Record
    {
        public String Text
        {
            get; set;
        }
        public ulong? TaskId { get; set; }
        public TaskStatus? Status { get; set; }
        public ulong? InstanceId { get; set; }
        public String SerializeData { get; set; }
    }
}
